package com.cqupt.service;

import com.cqupt.model.pojo.Article;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cqupt.model.vo.ArticleVO;
import com.cqupt.model.vo.PageVo;
import com.cqupt.model.vo.ScoreVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;


public interface ArticleService extends IService<Article> {

    PageVo<Article> category(int categoryId, Integer pageNum, Integer pageSize);

    ArticleVO getArticle(int id);

    ScoreVO follow(String text, MultipartFile file);
}
